home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmGetColors.z
/
XmGetColors
Wrap
Text File
|
1998-10-30
|
4KB
|
133 lines
XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrssss((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrssss - A function that generates foreground, select,
and shadow colors
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Xm.h>
vvvvooooiiiidddd XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrssss(
SSSSccccrrrreeeeeeeennnn **** ssssccccrrrreeeeeeeennnn,
CCCCoooolllloooorrrrmmmmaaaapppp ccccoooolllloooorrrrmmmmaaaapppp,
PPPPiiiixxxxeeeellll bbbbaaaacccckkkkggggrrrroooouuuunnnndddd,
PPPPiiiixxxxeeeellll **** ffffoooorrrreeeeggggrrrroooouuuunnnndddd,
PPPPiiiixxxxeeeellll **** ttttoooopppp____sssshhhhaaaaddddoooowwww,
PPPPiiiixxxxeeeellll **** bbbboooottttttttoooommmm____sssshhhhaaaaddddoooowwww,
PPPPiiiixxxxeeeellll **** sssseeeelllleeeecccctttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrssss takes a screen, a colormap, and a background
pixel, and returns pixel values for foreground, select, and
shadow colors.
_s_c_r_e_e_n Specifies the screen for which these colors should
be allocated.
_c_o_l_o_r_m_a_p Specifies the colormap from which these colors
should be allocated.
_b_a_c_k_g_r_o_u_n_d
Specifies the background on which the colors
should be based.
_f_o_r_e_g_r_o_u_n_d
Specifies a pointer to the returned foreground
pixel value. If this argument is NULL, no value
is allocated or returned for this color.
_t_o_p__s_h_a_d_o_w
Specifies a pointer to the returned top shadow
pixel value. If this argument is NULL, no value
is allocated or returned for this color.
_b_o_t_t_o_m__s_h_a_d_o_w
Specifies a pointer to the returned bottom shadow
pixel value. If this argument is NULL, no value
is allocated or returned for this color.
_s_e_l_e_c_t Specifies a pointer to the returned select pixel
value. If this argument is NULL, no value is
allocated or returned for this color.
Page 1 (printed 10/24/98)
XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrssss((((3333XXXX))))
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmCCCChhhhaaaannnnggggeeeeCCCCoooolllloooorrrr(3), XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrCCCCaaaallllccccuuuullllaaaattttiiiioooonnnn(3), and
XXXXmmmmSSSSeeeettttCCCCoooolllloooorrrrCCCCaaaallllccccuuuullllaaaattttiiiioooonnnn(3).
Page 2 (printed 10/24/98)